package com.tvunetworks.center.device.service;

import com.tvunetworks.center.common.model.SearchDeviceParam;
import com.tvunetworks.center.common.util.Result;
import com.tvunetworks.center.device.model.vo.DeviceApiParam;
/**
 * @program: tvucc-instance
 * @author lebronchen
 * @create: 2019-02-28 16:53
 **/
public interface DeviceApiService {
    /**
     * 根据用户获取device
     * @param deviceApiParam deviceApiParam
     * @return Result
     */
    Result getDeviceListByUser(DeviceApiParam deviceApiParam);

    /**
     *
     * @param deviceApiParam deviceApiParam
     * @return Result
     */
    Result getGridMetadata(DeviceApiParam deviceApiParam);

    /**
     *
     * @param deviceApiParam deviceApiParam
     * @return Result
     */
    Result updateGridMetadata(DeviceApiParam deviceApiParam);

    /**
     *
     * @param deviceApiParam deviceApiParam
     * @return Result
     */
    Result getStatus(DeviceApiParam deviceApiParam);

    /**
     *
     * @param deviceApiParam deviceApiParam
     * @return Result
     */
    Result deleteExt(DeviceApiParam deviceApiParam);

    /**
     * 根据用户分页获取设备
     * @param param param
     * @return Result
     */
    Result pageDevicesByUser(SearchDeviceParam param);
}
